<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
request.setCharacterEncoding("UTF-8"); 
//request.setCharacterEncoding("EUC-KR"); 
//System.out.println(request.getParameter("paramHtml"));

String paramHtml = request.getParameter("paramHtml") == null ? "" : request.getParameter("paramHtml");
//String paramHtml = request.getParameter("paramHtml") == null ? "" : request.getParameter("paramHtml").replaceAll("\r\n"," ");
//System.out.println(paramHtml.replaceAll("\r\n"," "));
%>

<script language="JavaScript" type="text/javascript">

	function drawHtml(){
		document.getElementById("main").innerHTML = "<%=paramHtml%>";
	}

	function submit(){
		opener.parent.saveFlexDataOk();
		self.close();
	}

	function cancle(){
		opener.parent.saveFlexDataCancle();
		self.close();
	}
	
</script>

<script for="window" event="onunload">
	cancle();
</script>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>전자 결재 요청 확인</title>
<style type="text/css">
<!--
.style1 {
	font-size: 13px;
	font-weight: bold;
	color: #2e3192;
}
-->
</style>
</head>
<body onLoad="drawHtml();">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="22"><div align="center"><span class="style1">◎  아래와 같은 내용으로 전자결재를 요청합니다. ◎</span></div></td>
  </tr>
  <tr>
    <td bgcolor="#999999"></td>
  </tr>
  <tr>
    <td height="2" bgcolor="#CCCCCC"></td>
  </tr>
</table>

<table width="100%" border="0">
  <tr>
    <td align="right"><a href="#"><img src="btn01.gif" name='buttonOk' border="0" onclick='javascript:submit();' value='결재요청'></a> <a href="#"><img src="btn02.gif"name='buttonCancle' border="0" onclick='javascript:cancle();' value='취소'></a> </td>
  </tr>
</table>
<form id="main" name="main">
</form>


<!-- 
<table width="100%" border="0">
  <tr>
    <td align="right">
    <a href="#"><img src="btn01.gif" name='buttonOk' border="0" onclick='javascript:submit();' value='결재요청'></a> 
    <a href="#"><img src="btn02.gif"name='buttonCancle' border="0" onclick='javascript:cancle();' value='취소'></a>
    </td>
  </tr>
</table>
 -->
<br>
</body>

